﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Jc.MicroDesigner.Management;

namespace Jc.MicroDesigner.ToolWindows
{
    /// <summary>
    /// Форма редактирования холста
    /// </summary>
    public partial class CanvasPropertiesForm : Form
    {
        /// <summary>
        /// Создать редактор свойств холста
        /// </summary>
        /// <param name="manager"></param>
        public CanvasPropertiesForm(ObjectManager manager)
        {
            InitializeComponent();
            CanvasProps.SelectedObject = manager.SchemeCanvas;
        }

        private void OkBtn_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}